WP_Defender\Controller\Firewall D

Total Complexity 126
Dependencies 31
Dependents 12
Total lines 1,040
Lines of code 646
Logical lines of code 322
Comment lines 273
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
maybe_lockout()
A
46 12 39
actions_for_blocked()
A
40 10 58
config_strings()
A
48 10 34
verify_blocked_user()
A
47 8 39
maybe_extend_mime_types()
A
51 9 24
save_settings()
S
48 6 37
maybe_show_demo_lockout()
S
49 6 33
schedule_cleanup_blocklist_ips_event()
S
57 7 17
maybe_lockout_gathered_ips()
S
58 7 15
__construct()
S
45 5 43
export_strings()
S
50 5 28
to_array()
S
52 3 27
check_attempt_counter_by()
S
59 3 14
print_emoji_script()
S
60 3 13
send_again()
S
61 3 12
data_frontend()
S
48 1 33
empty_lockouts()
S
58 2 18
empty_logs()
S
58 2 18
get_summary()
S
58 2 16
sync_ip_header()
S
58 2 15
send_unlock_email()
S
51 1 27
remove_data()
S
62 2 11
import_data()
S
69 2 7
menu_title()
S
66 2 8
enqueue_assets()
S
64 2 10
extend_mime_types()
S
71 2 6
dashboard_activation()
S
61 1 12
remove_settings()
S
67 1 8
dashboard_widget()
S
73 1 5
main_view()
S
81 1 3
clean_up_temporary_ip_blocklist()
S
82 1 3
clean_up_firewall_lockout()
S
82 1 3
clean_up_firewall_logs()
S
82 1 3
clean_up_unlockout()
S
75 1 4
update_trusted_proxy_preset_ips()
S
82 1 3